<?
require("includes/constants.php");
require("includes/funciones.inc.php");

session_start();
if(!isset($_SESSION['nombreUsuario']))
	exit();

?>
<div class="form_settings">
	<form id="proveedoresPopForm" name="proveedoresPopForm" method="post">
		<p>
			<span>Tipo</span>
			<select id="tipo" name="tipo">
				<option selected="selected" value="">...</option>				
				<option value="N">Nacional</option>
				<option value="E">Extranjero</option>
			</select>
		</p>
		<p>
			<span>Raz&oacute;n Social</span>
			<input id="razonSocial" name="razonSocial" type="text">
		</p>
		<p>
			<span>IVA</span>
			<select id="cmbIVA" name="cmbIVA"></select>
		</p>
		<p>
			<span>CUIT</span>
			<input id="cuit" name="cuit" type="text">
		</p>
		<p>
			<span>Direcci&oacute;n</span>
			<input id="direccion" name="direccion" type="text">
		</p>
		<p>
			<span>Pa&iacute;s</span>
			<select id="cmbPais" name="cmbPais"></select>
		</p>
		<p>
			<span>Localidad</span>
			<input id="localidad" name="localidad" type="text">
		</p>
		<p>
			<span>Provincia</span>
			<input id="provincia" name="provincia" type="text">
		</p>
		<p>
			<span>Cod. Postal</span>
			<input id="codPostal" name="codPostal" type="text">
		</p>
		<p>
			<span>Tel&eacute;fono</span>
			<input id="telefono" name="telefono" type="text">
		</p>
		<p>
			<span>Tel&eacute;fono Alternativo</span>
			<input id="telefonoAlternativo" name="telefonoAlternativo" type="text">
		</p>
		<p>
			<span>Nombre Contacto</span>
			<input id="nombreContacto" name="nombreContacto" type="text">
		</p>
		<p>
			<span>EMail</span>
			<input id="eMail" name="eMail" type="text">
		</p>
		<p>
			<span>Condici&oacute;n de Pago</span>
			<input id="condPago" name="condPago" class="numeric" type="text">
		</p>
		<p>
			<span>Segmento</span>
			<select id="cmbSegmento" name="cmbSegmento"></select>
		</p>
		<p style="padding-top: 15px; float: right;">
			<span>&nbsp;</span>
			<input class="submit" type="button" name="btnGuardar" id="btnGuardar" value="Guardar" />
			<input class="submit" type="button" name="btnCerrar" id="btnCerrar" value="Cerrar" />
		</p>
	</form>
</div>

<script>
	$(document).ready(function() {
		$_initPop();
	});
</script>